package com.boil.qz.safekavass.service;

import com.boil.qz.safekavass.dao.MybatisDao;
import com.boil.qz.safekavass.pojo.ReportRedpackVo;
import com.boil.util.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by ChenYong on 2017-11-02.
 * <br>
 * 红包 Service。
 */
@Service
public class RedpackService {
    /**
     * 注入 MyBatis Dao
     */
    @Autowired
    private MybatisDao mybatisDao;

    /**
     * 分页查询举报红包。
     *
     * @param page 分页实例
     */
    public void findInPage(Page<ReportRedpackVo> page) {
        mybatisDao.selectInPage("reportRedpackNs.findInPage", page);
    }
}